﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rabbit_Class.Domain
{
    public class Product
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ProductionBatch { get; set; }
        /// <summary>
        /// 保质期（天）
        /// </summary>
        public int ShelfLife { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string LicenseNumber { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Enterprise { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }
        /// <summary>
        /// 封面图片
        /// </summary>
        public string Picture { get; set; }

    }
}
